<html>
<head>
     <title>Help: duplicate</title>
</head>
<body>
     <center><table><tbody>
          <tr>
             <td style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: #ddd;">
                  <h4>duplicate</h4>Find duplicate values among a 1D table
                  <br><small>Last modified: 11-Feb-2010 15:15:27</small>

          </tr>
          <tr>
             <td style="border: 0px solid rgb(170, 170, 170); padding: 5px; background-color: #ddd;">
                  <a href="http://guillaumemaze.googlecode.com/svn/trunk/matlab/codes/matrix/duplicate.m">Download here</a>
             </td>
          </tr>
          <tr>
             <td style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: #fff; font-size:12px;">
                  <br>% duplicate Find duplicate values among a 1D table<br>%<br>% [Vdup Idup] = duplicate(C,[PREC])<br>%<br>% Find duplicate values among a 1D table, ie identify values among<br>% C which are similar (to the approximate precisions PREC), give them back<br>% in Vdup and their occurences in C in Idup.<br>%<br>% Eg:<br>%	C = [1 3 2 2 3 7];<br>%	[Vdup Idup] = duplicate(C)<br>%<br>%	C = [1.9572    3.4854    2.8003    2.1419    3.4218    7.9157];<br>%	[Vdup Idup] = duplicate(C,0)<br>%	[Vdup Idup] = duplicate(C,1)<br>%	[Vdup Idup] = duplicate(C,2)<br>%<br>% Created: 2010-02-11.<br>% All rights reserved.
             </td>
          </tr>
          <tr>
             <td style="border: 1px solid rgb(170, 170, 170); padding: 5px; background-color: #ddd; font-size:12px;">
                  Last update: 2011 March 04, 17:46<br>
                  Created by Guillaume Maze<br>
                  More informations at: <a href="http://codes.guillaumemaze.org/matlab">codes.guillaumemaze.org/matlab</a><br>
             </td>
          </tr>
     </tbody></table></center>
</body>
</html>
